using System.Diagnostics.CodeAnalysis;
using GameFramework.Managers;

namespace Asteroid.Content
{
    /// <summary>
    /// All the textures used in the game
    /// </summary>
    [SuppressMessage("Microsoft.StyleCop.CSharp.DocumentationRules", "SA1600:ElementsMustBeDocumented", Justification = "Reviewed. Suppression is OK here.")]
    public static class Textures
    {
        public const string Spaceship = "Spaceship";
        public const string Rock1 = "Rock1";
        public const string Rock2 = "Rock2";
        public const string Rock3 = "Rock3";
        public const string Bullet = "Bullet";
        public const string Space = "Space";

        public static readonly string[] Rocks = new[] { Rock1, Rock2, Rock3 };

        public static void LoadAllTextures()
        {
            TextureManager.LoadTexture(Spaceship);
            TextureManager.LoadTexture(Rock1);
            TextureManager.LoadTexture(Rock2);
            TextureManager.LoadTexture(Rock3);
            TextureManager.LoadTexture(Bullet);
            TextureManager.LoadTexture(Space);
        }
    }
}